import { request } from "../utils/request";


export function getDateCourse(date){
	return request({
		url: "/schedule/DateCourse?date=" + date,
		method: "GET"
	})
}


export function getCallStudent(id){
	return request({
		url: '/schedule/getCallStudent?id=' + id,
		method: 'GET'
	})
}

export function getCallCourse(id){
	return request({
		url: '/schedule/getCallCourse?id=' + id,
		method: 'GET'
	})
}


export function submitCall(data){
	return request({
		url: '/schedule/submitCall',
		method: 'POST',
		data: data
	})
}